home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_pru_adjoinsettings.cog < prev    next >
Text File  |  1999-11-15  |  569b  |  32 lines

  1. # Jones 3D Cog Script
  2. #
  3. # PRU_adjoinSettings.cog    Adjoins are turned on and off again as Indy comes by
  4. #
  5. # [GGJ]
  6. #
  7. # (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
  8. #
  9. # ========================================================================================
  10. symbols
  11. message entered
  12.  
  13. sector    jeep    
  14.  
  15. sector    plane
  16.  
  17. sector    trigger
  18.  
  19.  
  20.  
  21. end
  22. # ========================================================================================
  23. code
  24. entered:
  25.     if (GetSenderRef() == trigger)
  26.     {
  27.         SectorAdjoins(jeep, 0);
  28.     }
  29. return;
  30.  
  31. end
  32.